<!DOCTYPE html>
<html style="font-size: 23.4375px;">
<head>
    <include file="./public/header.html"/>

    <style>
        html,body{background: #fff; font-family: "Microsoft Yahei", "hiragino sans gb", Helvetica, Arial, Tahoma;}
        .zhui_tab{box-sizing: border-box; padding: 10px 15px; border-bottom: 1px solid #ddd; background: #f2f4f7;  border-top: 1px solid #ddd;}
        .zhui_tab span{display: inline-block; font-size:14px; padding: 4px 5px; line-height:20px; border-radius: 3px; text-align: center; color: #555; margin-right: 10px;}
        .zhui_tab span.on{background: #ff9726; color: #fff;}
        .zhui_res{}
        .zhui_res table{    border-collapse: collapse;  border-spacing: 0; font-size: 12px; width: 100%;}
        .zhui_res td{border:1px solid #eee; text-align: center; padding:10px 0; color: #666;}
        .fx_zhui_tou { display: inline-block;  border-radius: 2px; padding:2px 4px; background: #ea6a31; color: #fff; }
    </style>
</head>
<body >
<div id="app">
    <div id="shadow" style="display: none;"></div>
    <header class="top"><span>{$lottery_class.name}</span> <!---->
        <div class="iconfont back" ></div>
        <a href="{:U('Index/zhui')}" class="iconfont back on"></a>
    </header>
    <div data-v-10509cf0="" id="index" class="main">
        <div data-v-10509cf0="" class="hr1px"></div>
        <div class="zhui_tab">
            <span class="on he">和值</span>
            <span class="dx">大小</span>
            <span class="ds">单双</span>
        </div>
        <div class="zhui_res">
            <table class="on hezhi">
                <thead>
                    <tr>
                        <td  style="width: 25%">计划期号</td>
                        <td  style="width: 35%" colspan="2" class="fx_tj_name"><span>和值</span>推荐号</td>
                        <td style="width: 35%">结果</td>
                    </tr>
                </thead>
                <tbody>
                <foreach name="he" item="vo">
                    <tr>
                        <td style="width: 25%">第{$vo.iss}期</td>
                        <td style="width: 23%">{$vo.he}</td>
                        <td style="width: 17%">
                            <?php if($lottery_class_id==1){ ?>
                            <a href="{:U('Lottery/jiangsu')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==2){ ?>
                            <a href="{:U('Lottery/anhui')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==3){ ?>
                            <a href="{:U('Lottery/guangxi')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==4){ ?>
                            <a href="{:U('Lottery/hubei')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==5){ ?>
                            <a href="{:U('Lottery/beijing')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==9){ ?>
                            <a href="{:U('Lottery/hebei')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==10){ ?>
                            <a href="{:U('Lottery/gansu')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==11){ ?>
                            <a href="{:U('Lottery/shanghai')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==12){ ?>
                            <a href="{:U('Lottery/guizhou')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==13){ ?>
                            <a href="{:U('Lottery/jilin')}" class="fx_zhui_tou">立即投注</a>
                            <?php } ?>
                        </td>
                        <td style="width: 35%">
                            <foreach name="vo.sta" item="vv">
                               {$vv}<br/>
                            </foreach>
                        </td>
                    </tr>
                 </foreach>
                </tbody>
            </table>
            <table style="display: none" class="daxiao">
                <thead>
                <tr>
                    <td  style="width: 25%">计划期号</td>
                    <td  style="width: 35%" colspan="2" class="fx_tj_name"><span>大小</span>推荐号</td>
                    <td style="width: 35%">结果</td>
                </tr>
                </thead>
                <tbody>
                <foreach name="size" item="vv">
                    <tr>
                        <td style="width: 25%">第{$vv.iss}期</td>
                        <td style="width: 23%">
                            <if condition="$vv['size'] eq 1 "><a>小</a>
                                <else /> <a>大</a>
                            </if>
                        </td>
                        <td style="width: 17%">
                            <?php if($lottery_class_id==1){ ?>
                            <a href="{:U('Lottery/jiangsu')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==2){ ?>
                            <a href="{:U('Lottery/anhui')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==3){ ?>
                            <a href="{:U('Lottery/guangxi')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==4){ ?>
                            <a href="{:U('Lottery/hubei')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==5){ ?>
                            <a href="{:U('Lottery/beijing')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==9){ ?>
                            <a href="{:U('Lottery/hebei')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==10){ ?>
                            <a href="{:U('Lottery/gansu')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==11){ ?>
                            <a href="{:U('Lottery/shanghai')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==12){ ?>
                            <a href="{:U('Lottery/guizhou')}" class="fx_zhui_tou">立即投注</a>
                            <?php }elseif($lottery_class_id==13){ ?>
                            <a href="{:U('Lottery/jilin')}" class="fx_zhui_tou">立即投注</a>
                            <?php } ?>
                        </td>
                        <td style="width: 35%">
                            <foreach name="vv.sta" item="vc">
                                {$vc}<br/>
                            </foreach>
                        </td>
                    </tr>
                </foreach>
                </tbody>
            </table>
            <table style="display: none" class="danshuang">
            <thead>
            <tr>
                <td  style="width: 25%">计划期号</td>
                <td  style="width: 35%" colspan="2" class="fx_tj_name"><span>单双</span>推荐号</td>
                <td style="width: 35%">结果</td>
            </tr>
            </thead>
            <tbody>
            <foreach name="attr" item="va">
                <tr>
                    <td style="width: 25%">第{$va.iss}期</td>
                    <td style="width: 23%">
                        <if condition="$va['attr'] eq 1 "><a>单</a>
                            <else /> <a>双</a>
                        </if>
                    </td>
                    <td style="width: 17%">
                        <?php if($lottery_class_id==1){ ?>
                           <a href="{:U('Lottery/jiangsu')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==2){ ?>
                           <a href="{:U('Lottery/anhui')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==3){ ?>
                           <a href="{:U('Lottery/guangxi')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==4){ ?>
                           <a href="{:U('Lottery/hubei')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==5){ ?>
                           <a href="{:U('Lottery/beijing')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==9){ ?>
                           <a href="{:U('Lottery/hebei')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==10){ ?>
                           <a href="{:U('Lottery/gansu')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==11){ ?>
                           <a href="{:U('Lottery/shanghai')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==12){ ?>
                           <a href="{:U('Lottery/guizhou')}" class="fx_zhui_tou">立即投注</a>
                        <?php }elseif($lottery_class_id==13){ ?>
                           <a href="{:U('Lottery/jilin')}" class="fx_zhui_tou">立即投注</a>
                        <?php } ?>
                    </td>
                    <td style="width: 35%">
                        <foreach name="va.sta" item="vq">
                            {$vq}<br/>
                        </foreach>
                    </td>
                </tr>
            </foreach>
            </tbody>
        </table>
        </div>
    </div>
</div>

<script>
    $(".zhui_tab span").click(function(){
        $(this).addClass("on").siblings().removeClass("on");
        var txt = $(this).text();
        $(".fx_tj_name span").text(txt);
    })
     $(".he").click(function(){
         $(".hezhi").show();
         $(".daxiao").hide();
         $(".danshuang").hide();
     })
    $(".dx").click(function(){
        $(".hezhi").hide();
        $(".daxiao").show();
        $(".danshuang").hide();
    })
    $(".ds").click(function(){
        $(".hezhi").hide();
        $(".daxiao").hide();
        $(".danshuang").show();
    })
</script>
</body>
</html>